Peculier Issue with Mail::Sender and the machine
am 18.03.2009 17:58:10 von perl perl--===============2076125188==
Content-Type: multipart/alternative; boundary=0016368e24fca598fb0465679668
--0016368e24fca598fb0465679668
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi All,
I have written a code which sends a mail using Mail::Sender utility.
When I ran this code at 2 differenct machine (Linux, Solaris), observed the
peculier issue.
At Linux this code works fine, and sends the mail. At solaris this is
not sending the mail, but no warnings & errors.
I used the specific path where the Mail::Sender utility is install. Your
help will be greatly appreciated.
#!/usr/bin/perl
#!/apps/perl/5.8.3/bin/perl
use Mail::Sender;
$sender = new Mail::Sender { from => 'mail@server.com',
};
$sender->Open({to => 'mail@server.com',
cc => 'mujju@server.com',
subject => 'A machine.'});
$sender->SendLineEnc("I'm sorry, but due to a big load of work,
I'll come at 10pm at best.");
$sender->SendLineEnc("\nMustafa");
$sender->Close;
--
--
Regards,
Mujju
--0016368e24fca598fb0465679668
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
utility.
d the peculier issue.
is not=A0sending the mail, but no warnings & errors.
ur help will be greatly appreciated.
#!/usr/bin/perl
#!/apps/perl/5.8.3/bin/perl
use Mail::Sender;
$sender =3D new Mail::Sender { from =3D>
server.com'">'mail@server.com',
=A0 };
$sender->Open({to =3D>
">'mail@server.com',
=A0=
cc =3D> 'mujju@=
server.com',
=A0 subje=
ct =3D> 'A machine.'});
=A0$sender->SendLineEnc("I'm sorry, but due to a big load of wo=
rk,
=A0 I'll come at 10pm at best.");
=A0$sender->S=
endLineEnc("\nMustafa");
=A0$sender->Close;
-=
-
Regards,
Mujju
--0016368e24fca598fb0465679668--
--===============2076125188==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============2076125188==--